package top.szhome.develop.service;

import top.szhome.framework.starter.db.support.SimpleService;
import top.szhome.develop.convert.DatasourceConverter;
import top.szhome.develop.entity.Datasource;
import top.szhome.develop.dto.DatasourceDTO;
import top.szhome.develop.vo.DatasourceVO;

import java.util.List;

/**
 * 数据源服务定义
 *
 * @author 唐加利
 * @date 2023/08/21
 **/
public interface DatasourceService extends SimpleService<DatasourceConverter, DatasourceDTO, Datasource, DatasourceVO> {

    /**
     * 同步数据源表数据
     * @param id
     */
    void sync(List<Long> id);
}
